package com.lmk.ms.common.dto.op;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.lmk.ms.common.vo.auth.LoginResult;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 二维码图片扫码查询结果
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/24
 */
@Data
@Schema(description = "二维码图片扫码查询结果")
public class QrImageCheck {
    @Schema(description = "会话ID")
    private String sid;

    @Schema(description = "扫码状态：-1.无效的会话，0.等待扫码，1.等待确认，2.已确认")
    private Integer status;

    @Schema(description = "登录结果")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LoginResult result;
}
